using System;
using System.Data;

namespace CustomReadFiles01
{
    class Program
    {
        static void Main(string[] args)
        {
            var helper = new ReadClass();
            var employeeList = helper.ParseFile("txt测试文件.txt");
            foreach (var employee in employeeList)
            {
                Console.WriteLine($"{employee.一} {employee.二} lives in {employee.丨}, {employee.阝}.");
            }
            Console.ReadLine();
            //DataSet ds = ExcelExportImport.ExcelToDataSet("Excel.xlsx");            //括号中为表格地址  
            //for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
            //{
               // string str = ds.Tables[0].Rows[i]["周一"].ToString();  //Rows[i]["col1"]表示i行"col1"字段  
                //Console.WriteLine(str);
            //}
           // Console.ReadKey();
        }
    }
}
